package com.ccb.sc.common.modules.setting.vo;

import com.ccb.sc.common.bind.annotation.Mapping;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author ken
 * @version 1.0
 * @date 2020-09-21
 */
@ApiModel
public class ShopkeeperAdRewardVo implements Serializable {

    @ApiModelProperty("广告每日奖励次数")
    @NotNull
    @Min(value = 0)
    @Max(value = 100)
    @Mapping(value = "shopkeeper.ad.award.dailyTimes")
    private Integer dailyTimes;

    @ApiModelProperty("广告每次奖励阳光值")
    @NotNull
    @Mapping(value = "shopkeeper.ad.award.points")
    private BigDecimal awardPoints;

    public Integer getDailyTimes() {
        return dailyTimes;
    }

    public void setDailyTimes(Integer dailyTimes) {
        this.dailyTimes = dailyTimes;
    }

    public BigDecimal getAwardPoints() {
        return awardPoints;
    }

    public void setAwardPoints(BigDecimal awardPoints) {
        this.awardPoints = awardPoints;
    }
}
